package com.vend.common.base

import android.app.Service
import android.content.Intent
import android.os.IBinder
import android.util.Log
import android.webkit.WebView

/**
 * Created by glendal on 2022/01/14.
 * Web网络服务
 */
class WebService : Service() {

    val TAG: String = WebService::class.java.getSimpleName()

    override fun onCreate() {
        super.onCreate()
        Log.e(TAG, "init process")
        try {
            WebView(this.applicationContext)
        } catch (throwable: Throwable) {
            throwable.printStackTrace()
        }
    }

    override fun onBind(intent: Intent?): IBinder? {
        return null
    }
}